package com.njworkorder.VO;

import com.njworkorder.DTO.CorInspectionInfo;
import com.njworkorder.Entity.CorWithDictionary;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CORDetailsVo {

    //施工信息
    @Schema(description = "施工类型")
    private String constructionType;

    @Schema(description = "施工内容")
    private String constructionContent;

    @Schema(description = "占道类型")
    private String onRoadType;

    @Schema(description = "是否应急处置(1是、2否)")
    private Integer isEmergency;

    @Schema(description = "计划开始时间")
    private Date plannedStartTime;

    @Schema(description = "计划结束时间")
    private Date plannedEndTime;

    @Schema(description = "路线id")
    private String routeId;

    @Schema(description = "交通影响描述")
    private String trafficImpactDescription;

    @Schema(description = "开始桩号")
    private String startStake;

    @Schema(description = "结束桩号")
    private String endStake;

    @Schema(description = "施工单位id")
    private String constructionUnitId;

    @Schema(description = "施工负责人id")
    private String constructionApId;

    @Schema(description = "施工负责人电话")
    private String commanderPhone;

    @Schema(description = "现场安全员")
    private String sceneSafetyOfficer;

    @Schema(description = "现场安全员电话")
    private String safetyOfficerPhone;

    @Schema(description = "附件（文件地址）")
    private String appendixes;

    @Schema(description = "施工作业单（文件地址）")
    private String constructionJobTicket;

    @Schema(description = "准予许可决定书（文件地址）")
    private String permitDecisionLetter;

    @Schema(description = "交通组织方案（文件地址）")
    private String trafficOrganizationPlan;

    @Schema(description = "数据状态")
    private String status;


//    @Schema(description = "施工内容字典信息")
//    private List<CorWithDictionaryAddDto> keyOne;
//    @Schema(description = "位置字典信息")
//    private List<CorWithDictionaryAddDto> keyTwo;
//    @Schema(description = "位置关联字典信息")
//    private List<CorWithDictionaryAddDto> keyThree;
//    @Schema(description = "占用车道字典信息")
//    private List<CorWithDictionaryAddDto> keyFour;

    @Schema(description = "施工占道字典信息")
    private List<CorWithDictionary> CorWithDictionaryInfo;


    //其他信息
    @Schema(description = "项目编码")
    private String projectCode;

    @Schema(description = "内部人员")
    private String insider;

    @Schema(description = "外部人员")
    private String outsiders;

    @Schema(description = "施工车辆")
    private String constructionCar;

    @Schema(description = "防撞车")
    private String anticollisionCar;

    @Schema(description = "其他")
    private String others;



    //任务关联巡查信息
    @Schema(description = "关联任务id")
    private String[] assignmentIds;

    @Schema(description = "巡查信息")
    private List<CorInspectionInfo> corInspectionInfos;

}
